<div class="modal-header">
    <h3 class="modal-title">上传文件</h3>
</div>
<div class="modal-body">
    <form class="bs-example form-horizontal" ng-submit="ok()" name="form">
        <!--<div class="form-group">-->
        <!--<label class="col-lg-2 control-label">文件列表<span style="color:red">*</span></label>-->
        <!--<div class="col-lg-10">-->
        <!--<image-gallery images="images"></image-gallery>-->
        <!--</div>-->
        <!--</div>-->


        <div class="form-group">
            <label class="col-lg-2 control-label">选择文件<span style="color:red">*</span></label>
            <div class="col-lg-10">
                <div>
                    <span class="btn m-b-xs w-xs btn-success" ngf-select="uploadFile($file, $invalidFiles)"
                          accept="image/*" ng-model="picFile">选择文件</span>
                    <span>支持 PNG,GIF,JPG,JEPG</span>
                </div>

                <div class="col-sm-3" ng-show="picFile">
                    <div class="thumbnail">
                        <img ngf-src="picFile"/>
                    </div>
                </div>
            </div>
        </div>

        <div class="form-group">
            <div class="col-lg-2"></div>
            <div class="col-lg-1">
                <button type="submit" class="btn btn-info" ng-disabled="!isReady">添加</button>
            </div>
            <div class="col-lg-1">
                <button type="submit" class="btn btn-info" ng-click="cancel()">取消</button>
            </div>
        </div>
    </form>
</div>